<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@include file="/includes.jsp"%>

<div class="layout">
    <img src="<html:rewrite page='/icons/department-32x32.png'/>"/><span class="node-name">Department: <beans:write name="department" property="name"/></span>
    <p class="history">
        <span class="history-text">
            <velocityme:markup><beans:write name="department" property="description"/></velocityme:markup>
        </span>
    </p>
    <table class="styled" cellspacing="0">
        <tr>
            <th class="styled">Name</th>
            <th class="styled">Value</th>
        </tr>
        <logic:iterate name="department" property="contactDetails" id="cd">
            <tr>
                <td class="styled">
                    <logic:equal name="cd" property="contactDetailType.showType" value="true">
                        <beans:write name="cd" property="contactDetailType.name"/>
                    </logic:equal>&nbsp;
                </td>
                <td class="styled"><beans:write name="cd" property="value"/>&nbsp;</td>
            </tr>
        </logic:iterate>
    </table>
</div>
